package com.ITArmy.beans;

import java.util.Date;

public class Blog {
    /**
     * 博客id
     */
    private Long bId;
    /**
     * 用户id
     */
    private Long uId;
    /**
     * 博客的内容
     */
    private String bAddress;
    /**
     * 博客的标题
     */
    private String bTitle;
    /**
     * 博客的类型
     */
    private Integer tId;
    /**
     * 博客发表的时间
     */
    private Date bTime;
    /**
     * 点赞量
     */
    private Long bPraise;
    /**
     * 收藏量
     */
    private Long bCollection;
    /**
     * 阅读量
     */
    private Long bRead;
    /**
     * 打赏金额
     */
    private Double bReward;
    /**
     * 评论量
     */
    private Long bComment;
    /**
     * 字数
     */
    private Long bWord;
    /**
     * 是否推荐
     */
    private String bRecommend;


    public Long getbId() {
        return bId;
    }

    public void setbId(Long bId) {
        this.bId = bId;
    }

    public Long getuId() {
        return uId;
    }

    public void setuId(Long uId) {
        this.uId = uId;
    }

    public String getbAddress() {
        return bAddress;
    }

    public void setbAddress(String bAddress) {
        this.bAddress = bAddress == null ? null : bAddress.trim();
    }

    public String getbTitle() {
        return bTitle;
    }

    public void setbTitle(String bTitle) {
        this.bTitle = bTitle == null ? null : bTitle.trim();
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public Date getbTime() {
        return bTime;
    }

    public void setbTime(Date bTime) {
        this.bTime = bTime;
    }

    public Long getbPraise() {
        return bPraise;
    }

    public void setbPraise(Long bPraise) {
        this.bPraise = bPraise;
    }

    public Long getbCollection() {
        return bCollection;
    }

    public void setbCollection(Long bCollection) {
        this.bCollection = bCollection;
    }

    public Long getbRead() {
        return bRead;
    }

    public void setbRead(Long bRead) {
        this.bRead = bRead;
    }

    public Double getbReward() {
        return bReward;
    }

    public void setbReward(Double bReward) {
        this.bReward = bReward;
    }

    public Long getbComment() {
        return bComment;
    }

    public void setbComment(Long bComment) {
        this.bComment = bComment;
    }

    public Long getbWord() {
        return bWord;
    }

    public void setbWord(Long bWord) {
        this.bWord = bWord;
    }

    public String getbRecommend() {
        return bRecommend;
    }

    public void setbRecommend(String bRecommend) {
        this.bRecommend = bRecommend == null ? null : bRecommend.trim();
    }
}